package api_.collectionTest;

public class SimpleArrayListDemo
{
    public static void main(String[] args)
    {
        SimpleArrayList simpleArrayList = new SimpleArrayList();
        simpleArrayList.add(1);
        simpleArrayList.add(2);
        simpleArrayList.add(3);
        simpleArrayList.add(1,33);
        simpleArrayList.add(2,"a");
        System.out.println(simpleArrayList);
        Object removeObj = simpleArrayList.remove(2);
        System.out.println(simpleArrayList);
        System.out.println("size= " + simpleArrayList.size());
        System.out.println("removeObj = " + removeObj);
        simpleArrayList.clear();
        System.out.println(simpleArrayList);
//        System.out.println("size =  " + simpleArrayList.size());

    }
}
